package com.wcity.manage.service.community.volunteerservice;


import com.wcity.manage.common.vo.community.volunteer.VolunteerVo;
import com.wcity.manage.dao.model.community.volunteer.Volunteer;

import java.util.List;
import java.util.Map;

/**
 * 志愿者服务
 * Created by hgg on 2016/12/20.
 */
public interface VolunteerService {

    /**
     * 志愿者服务列表
     * @param queryMap
     * @return
     */
    public List<VolunteerVo> volunteerPageList( Map<String,Object> queryMap );

    /**
     * 删除志愿者服务
     * @param deleteMap
     * @return
     */
    public Integer deleteVolunteer( Map<String,Object> deleteMap );

    /**
     * 新增志愿者服务
     * @param volunteer
     * @return
     */
    public Integer saveAddVolunteer( Volunteer volunteer,String imgUrl,String blockIdStr );

    /**
     * 更新志愿者服务
     * @param volunteer
     * @return
     */
    public Integer saveUpdateVolunteer( Volunteer volunteer,String imgUrl,String blockIdStr );

    /**
     * 志愿者服务详情
     * @param detailMap
     * @return
     */
    public VolunteerVo volunteerDetail( Map<String,Object> detailMap );

    /**
     * 志愿者服务总数量
     * @param queryMap
     * @return
     */
    public Integer totalVolunteer( Map<String,Object> queryMap );

    /**
     * 志愿者服务列表非分页
     * @param queryMap
     * @return
     */
    public List<VolunteerVo> volunteerList( Map<String,Object> queryMap );

    /**
     * 查询小区ID拼接（1,2,3）
     * @param queryMap
     * @return
     */
    public String blockIds( Map<String,Object> queryMap );
}
